package com.stt.experiment.websocket.action.dispatcher.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Inherited
@Documented
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface ReqMethod {
    @AliasFor("cmd")
    String value() default "";

    @AliasFor("value")
    String cmd() default "";
}
